<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic" prefix="logic" %>

<logic:messagesPresent message="true">
	<html:img pageKey="sistema.ico.informacao" align="absmiddle"/>
	<bean:message key="mensagem.informacoes"/>
	<ul>
		<html:messages id="mensagem" message="true">
			<li><bean:write name="mensagem" ignore="false"/></li>
		</html:messages>
	</ul>
</logic:messagesPresent>

<logic:messagesPresent message="false">
	<html:img pageKey="sistema.ico.erro" align="absmiddle"/>
	<bean:message key="mensagem.erros"/>
	<ul>
		<html:messages id="mensagem" message="false">
			<li><bean:write name="mensagem" ignore="false"/></li>
		</html:messages>
	</ul>
</logic:messagesPresent>